package com.fr.chart.marker;

import com.fr.base.core.GraphHelper;
import java.awt.Graphics2D;

public class StarMarker extends Marker
{
  private static final long serialVersionUID = 336955905456260322L;

  public void paintMarker(Graphics2D paramGraphics2D, double paramDouble1, double paramDouble2)
  {
    GraphHelper.drawLine(paramGraphics2D, paramDouble1 - this.size, paramDouble2, paramDouble1 + this.size, paramDouble2);
    GraphHelper.drawLine(paramGraphics2D, paramDouble1, paramDouble2 + this.size, paramDouble1, paramDouble2 - this.size);
    GraphHelper.drawLine(paramGraphics2D, paramDouble1 - this.size, paramDouble2 - this.size, paramDouble1 + this.size, paramDouble2 + this.size);
    GraphHelper.drawLine(paramGraphics2D, paramDouble1 - this.size, paramDouble2 + this.size, paramDouble1 + this.size, paramDouble2 - this.size);
  }

  public String getMarkerType()
  {
    return "StarMarker";
  }
}